<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: Page Types - Left-to-right direction puts first page on :right</title>
  <link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
  <link rel="help" href="http://www.w3.org/TR/css3-page/#page-type"/>
  <meta name="flags" content="paged" />
  <meta name="assert" content="Documents laid out horizontally with a root 'direction' value of 'ltr' must render the first page of a document as a right page."/>
  <style type="text/css"><![CDATA[
  	body {direction: ltr;}
	@page {
		margin-left: 50%;
		@top-center { 
			content: "First Page";
		}
	}
	@page :left {
		margin-left: 0;
		@top-center { 
			content: "Second Page"; 
		}
	}
	
	div#secondPage {page-break-before: always;}
  ]]></style>
 </head>
 <body>
	<div>This paragraph should appear on the first page, which should have a title of &quot;First Page&quot; and a left margin of 50%</div>
	
	<div id="secondPage">This paragraph should appear on the second page, which should have a title of &quot;Second Page&quot; and no left margin</div>
 </body>
</html>